import { IPSDEContextMenuParam } from './ipsdecontext-menu-param';
import { PSDEToolbarParamImpl } from './psdetoolbar-param-impl';

export class PSDEContextMenuParamImpl extends PSDEToolbarParamImpl implements IPSDEContextMenuParam {
  get owner(): IModel {
    return this.M.owner;
  }

  get cls(): string {
    return 'PSDEContextMenuParamImpl';
  }

  instanceof(cls: string): boolean {
    if (cls == 'control.menu.IPSContextMenuParam' || cls == 'control.toolbar.IPSDEContextMenuParam') return true;
    return super.instanceof(cls);
  }
}
